@charset "utf-8";

.web{
    .news{
        margin-bottom: 70px;
        .newstrend_cont{
            h3{
                color: #ff986a;
                margin-top: 42px;
                margin-bottom: 39px;
            }
            ul>li{
                text-align: center;
                >a{
                    .news_pho{
                        position: relative;
                        >img{
                            max-width: 100%;
                            box-sizing: border-box;
                            border: 1px solid #eeeeee;
                        }
                        .news_mask{
                            position: absolute;
                            bottom: 0;
                            left: 0;
                            width: 100%;
                            height: 40px;
                            line-height: 40px;
                            background-color: rgba(0, 0, 0, .6);
                            color: #ffffff;
                            font-size: 12px;
                        }
                    }  
                }
            }
        }
    }
    .news_sort{
        .newssort_cont{
            >ul{
                border-bottom: 1px dotted #d4d4d4;
                >li{
                    margin-bottom: 60px;
                    img{
                        max-width: 100%;
                        width: 30%;
                        vertical-align: top;
                        padding: 3px;
                        border: 1px solid #dddddd;
                        border-radius: 5px;
                    }
                    .newssort_detail{
                        display: inline-block;
                        width: 66%;
                        margin-left: 2%;
                        h5{
                            font-size: 15px;
                        }
                        .newssort_ys{
                            color: #ff6900;
                        }
                        button{
                            width: 98px;
                            height: 32px;
                            color: #ff6900;
                            border-radius: 15px;
                            float: right;
                            border: 1px solid #ff6900;
                            background-color: #ffffff;
                        }
                        .newssort_btn{
                            color: #ffffff;
                            background-color: #ff6900;
                        }
                    }
                }
            }
            .newssort_turn{
                margin-top: 35px;
                margin-bottom: 25px;
                >ul{
                    width: 40%;
                    margin: 0 auto;
                    border: 1px solid #dddddd;
                    border-radius: 5px;
                    >li{
                        float: left;
                        width: 10%;
                        height: 30px;
                        line-height: 30px;
                        text-align: center;
                        box-sizing: border-box;
                        border-right: 1px solid #dddddd;
                    }
                    .sum{
                        width: 16%;
                    }
                    .last{
                        width: 22%;
                    }
                    .next{
                        width: 22%;
                    }
                    .page_col{
                        background-color: #e34637;
                    }
                    .page_4{
                        border-top-right-radius: 5px;
                        border-bottom-right-radius: 5px;
                    }
                }
            }
        }
    }
}

// 移动端样式
@media only screen and (max-width:768px){
    html,body{
        width: 100%;
    }
    .web{
        .news{
            margin-bottom: 20px;
            .newstrend_cont{
                h3{
                    margin: 20px 0;
                }
                ul>li{
                    >a{
                        .news_pho{
                            .news_mask{
                                display: none;
                            }
                        }  
                    }
                }
            }
        }
        .news_sort{
            .newssort_cont{
                >ul{
                    >li{
                        margin-bottom: 20px;
                        img{
                            width: 38%;
                        }
                        .newssort_detail{
                            width: 58%;
                            p:nth-of-type(2){
                                display: none;
                            }
                            button{
                                display: none;
                            }
                        }
                    }
                }
                .newssort_turn{
                    margin-top: 25px;
                    margin-bottom: 25px;
                    >ul{
                        width: 80%;
                    }
                }
            }
        }
    }
}